package cdu.javaendwork.util.ProNumber;

public class ProNumBerHelper {
    private static boolean isDigitC(char ch)

    {

        if (ch < 48 || ch > 57)

            return false;

        else

            return true;

    }
    public String getProNumBerForDate(String s)
    {
        int len = s.length();
        String res = "";
        for (int i  =0;i < len ;i ++)
        {
            char c = s.charAt(i);
            if(isDigitC(c))
            {
                res += String.valueOf(c);
            }
        }
        return res;
    }
}
